package common
type IAttemperEngineSink interface {
	Init(string) error
	Uninit() bool
	Serve() error
	Stop()
	OnEventTCPSocketLink(IConnector) error
	OnEventTCPSocketShut(IConnector) bool
	OnEventTCPSocketRead(uint16, uint16, []byte, IConnector) bool
	OnEventTCPNetworkLink(ISession) bool
	OnEventTCPNetworkShut(ISession) bool
	OnEventTCPNetworkRead(uint16, uint16, []byte, ISession) bool
	OnEventModuleMessage(uint32, []byte) (bool, []byte)
	GetModule(moduleID int) IModule
}
